﻿namespace Traffic.Entity;

/// <summary>
/// 权限表
/// </summary>
public partial class SysMenuList
{
    public int Id { get; set; }

    /// <summary>
    /// 权限的代码/通配符,对应代码中@RequiresPermissions 的value
    /// </summary>
    public string? MenuCode { get; set; }

    /// <summary>
    /// 菜单的中文释义
    /// </summary>
    public string MenuName { get; set; } = null!;

    /// <summary>
    /// 父级菜单ID 一级菜单默认为0
    /// </summary>
    public int ParentMenu { get; set; }

    /// <summary>
    /// 本权限的中文释义
    /// </summary>
    public string Remarks { get; set; } = null!;

    /// <summary>
    /// 是否本菜单必选权限, 1.必选 2非必选 通常是&quot;列表&quot;权限是必选
    /// </summary>
    public string RequiredPerMission { get; set; } = null!;

    /// <summary>
    /// 状态：1 正常  0作废
    /// </summary>
    public bool Status { get; set; }
}
